﻿#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif

#include "help.h"
#include "ui_help.h"

Help::Help(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::Help)
{
    ui->setupUi(this);
    setWindowTitle("使用帮助");
    setWindowFlag(Qt::WindowStaysOnTopHint);    //置顶
    setWindowModality(Qt::WindowModal); //模态
    ui->label->setText("F1：提升窗口透明度.");
    ui->label_2->setText("F2：降低窗口透明度.");
    ui->label_3->setText("F3：选取窗口颜色.");
    ui->label_4->setText("F4：最小化窗口.");
    ui->label_5->setText("F5：显示工具栏.");
    ui->label_6->setText("左键：双击顶部标题栏，最大化/还原窗口.");
    ui->label_7->setText("左键：在顶部标题栏按住，拖动窗口.");
    ui->label_8->setText("Esc：关闭窗口.");
    ui->label_9->setText("Ctrl+H：打开帮助.");
    ui->label_10->setText("作者：香菇滑稽 Mr.Wu");
    ui->label_11->setText("微信：784765727");
    ui->label_12->setText("主页：blog.csdn.net/wwplh5520370");

}

Help::~Help()
{
    delete ui;
}
